{include file="public/hunanconstr_meta" /}
<link href="__PUBLIC_ADMIN__css/plugins/iCheck/custom.css" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox-title">
                        <h5>所有项目</h5>
                        <div class="ibox-tools">
                            <a href="{:url('admin/Hunanconstr/project_cat_list',['id'=>$res.id])}" class="btn btn-primary btn-xs">返回列表</a>
                        </div>
                    </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <form action="{:url('admin/Hunanconstr/project_cat_edit')}" method="post" class="form-horizontal" enctype="multipart/form-data">
                        	<input type="hidden" name="id" value="{$res.id}" />
                        	<div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">项目名称</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.project_name}" name="project_name">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">楼栋号</label>
                                <div class="col-sm-1">
                                    <input type="number" class="form-control" value="{$res.can_count}" name="can_count">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">开工时间</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.event_time}" name="event_time">
                                    <span class="help-block m-b-none">*请对格式 2007-11-16格式填写</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
								<label class="col-sm-2 control-label">项目模型照片</label>
								<div class="col-sm-10">
									<div class="up">
										<input type="file" class="four" value="{$res.project_model}" name="file" placeholder="">
										<div id="preview4"  >
						                    <img src="{$res.project_model}" alt="" >
						                </div>
						            </div>
					            </div>
							</div>
							<div class="hr-line-dashed"></div>
                            <div class="form-group">
								<label class="col-sm-2 control-label">签证图片1</label>
								<div class="col-sm-1">
									<div class="up">
										<input type="file" class="three" value="{$res.visa_img1}" name="img1" placeholder="">
										<div id="preview3"  >
						                    <img src="__IMG_UP__{$res.visa_img1}" alt="" >
						                </div>
						            </div>
					            </div>
					            <label class="col-sm-2 control-label">签证图片2</label>
								<div class="col-sm-5">
									<div class="up">
										<input type="file" class="two" value="{$res.visa_img2}" name="img2" placeholder="">
										<div id="preview2"  >
						                    <img src="__IMG_UP__{$res.visa_img2}" alt="" >
						                </div>
						            </div>
					            </div>
							</div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">省份</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.province_id}" name="province_id">
                                    <span class="help-block m-b-none">*例:湖南省</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">城市</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.city_id}" name="city_id">
                                    <span class="help-block m-b-none">*例:长沙市</span>
                                </div>
                            </div>
                            
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">项目地址</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.address}" name="address">
                                    <span class="help-block m-b-none">*例:天心区XXX街道</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">项目经度</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.lng}" name="lng">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">项目纬度</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.lat}" name="lat">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">施工单位</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.construction_unit}" name="construction_unit">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">建设单位</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.design_unit}" name="design_unit">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">设计单位</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.contract_unit}" name="contract_unit">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">监理单位</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.supervisor_unit}" name="supervisor_unit">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">主体完成面积</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.finished_area}" name="finished_area">
                                    <span class="help-block m-b-none">*不需要单位</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">装修完成面积</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.renovation_area}" name="renovation_area">
                                    <span class="help-block m-b-none">*不需要单位</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">累计完成产值</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.finished_output}" name="finished_output">
                                    <span class="help-block m-b-none">*不需要单位,以万为单位</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">回收工程款</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.recovery_money}" name="recovery_money">
                                    <span class="help-block m-b-none">*不需要单位,以万为单位</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                            	<label class="col-sm-2 control-label">计划竣工时间</label>
                                <div class="col-sm-10">
                                    <input type="text" class="form-control" value="{$res.plan_finish_time}" name="plan_finish_time">
                                    <span class="help-block m-b-none">*请对格式 2007-11-16格式填写</span>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">保存内容</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
        
    {include file="public/hunanconstr_footer" /}
	
    <!-- 自定义js -->
    <script src="__PUBLIC_ADMIN__js/content.js?v=1.0.0"></script>
    
    <!-- iCheck -->
    <script src="__PUBLIC_ADMIN__js/plugins/iCheck/icheck.min.js"></script>

</body>
</html>
